<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">
    <div class="row ">
        
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="expert_name" placeholder="专家姓名"> 
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="mobile" placeholder="联系电话"> 
        </div>
        <div class="col-sm-2 col-sm-offset-6">
            <button class="btn btn-block btn-info" ng-click="search()">查询</button> 
        </div>
    </div>

</div>
</div>
</div>
<div class="panel panel-default">
    <div class="col-sm-12" style="padding-top: 20px;padding-bottom:20px">
        <div class="col-sm-2  pull-left">
            <button class="btn btn-block btn-info" ng-click="add()">专家推荐</button> 
        </div>
    </div>
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-1 text-center">专家姓名</th>
                    <th class="col-md-1 text-center">专家账号</th>
                    <th class="col-md-1 text-center">所属领域</th>
                    <th class="col-md-1 text-center">联系电话</th>
                    <th class="col-md-1 text-center">状态</th>
                    <th class="col-md-1 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center" style="vertical-align: middle">{{obj.expert_name}}</td>
                    <td class="text-center" style="vertical-align: middle">{{obj.expert_login_name}}</td>
                    <td class="text-center" style="vertical-align: middle">{{obj.field_type}}</td>
                    <td class="text-center" style="vertical-align: middle">{{obj.mobile}}</td>
                    <td class="text-center" style="vertical-align: middle">{{obj.expert_state_name}}</td>                     
                    <td class="text-center" ng-show="obj.expert_state=='0'">
                        <a ng-click="update($index)" class="btn btn-info btn-xs">修改资料</a>                    
                        <a ng-click="delete($index)" class="btn btn-danger btn-xs">删除</a>
                        <a ng-click="apply($index)" class="btn btn-success btn-xs">申请入库</a>
                    </td>
                    <td class="text-center" ng-show="obj.expert_state=='1'">
                        <a ng-click="giveup($index)" class="btn btn-info btn-xs">放弃</a>
                        <a ng-click="toinfo($index)" class="btn btn-info btn-xs">查看资料</a>
                    </td>
                    <td class="text-center" ng-show="obj.expert_state=='2'">
                        <a ng-click="toinfo($index)" class="btn btn-info btn-xs">查看资料</a>
                    </td>
                    <td class="text-center" ng-show="obj.expert_state=='3'">
                        <a ng-click="toinfo($index)" class="btn btn-info btn-xs">查看资料</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination 
             total-items="bigTotalItems" 
             ng-model="bigCurrentPage" 
             ng-change="getlist()" 
             previous-text="上一页" 
             next-text="下一页"
            first-text="首页" 
            last-text="尾页" 
            max-size="maxSize" 
            boundary-links="true" 
            rotate="false" 
            items-per-page="itemsPerPage"
            class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>
        